﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace NNCore
{
    [XmlInclude(typeof(Tanh))]
    [XmlInclude(typeof(Identity))]
    [XmlInclude(typeof(Logistic))]
    public abstract class AFunction : IFunction
    {
        public abstract double compute(double value, double threshold);
    }
}
